uniq - report or omit repeated lines
[SYNOPSIS] uniq OPTION INPUT OUTPUT
option
-d
only print duplicate lines
-u
only print unique lines